﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ajax_filmclist.aspx.cs"
    Inherits="Joyintech.Web.inpiao365.PhenixTicket.ajax_filmclist" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div class="yx-one">
        <b>选择时间：</b> <span><a id='<%=today %>' href="javascript:loadFilmShowL('<%=cityid %>',0,'<%=today %>','0','<%=movieid %>');">
            今天（<%=today %>[<%=todayweek %>]）</a></span> <span><a id='<%=tomorrow %>' href="javascript:loadFilmShowL('<%=cityid %>',0,'<%=tomorrow %>','0','<%=movieid %>');">
                明天（<%=tomorrow %>[<%=tomorrowweek %>]）</a></span> <span><a id='<%=nexday %>' href="javascript:loadFilmShowL('<%=cityid %>',0,'<%=nexday %>','0','<%=movieid %>');">
                    后天（<%=nexday %>[<%=nexdayweek %>]）</a></span></div>
    <div class="yx-one">
        <div id="morecityyin">
            <b>选择城市：</b>
            <%
                foreach (Joyintech.Model.inpiao365.systemArea item in citylist)
                {
            %>
            <a id='<%=item.Encode %>' href="javascript:loadFilmShowL('<%=item.Encode %>',0,'<%=checkdate %>','0','<%=movieid %>');">
                <%=item.Name %></a>
            <%
                }   
            %>
        </div>
    </div>
    <div class="yx-one">
        <b>选择城区：</b><span> <a id="quanbu" href="javascript:loadFilmShowL('<%=cityid %>','0','<%=checkdate %>','<%=cinemaid %>','<%=movieid %>');">
            全部</a>
            <%
                foreach (Joyintech.Model.inpiao365.systemArea item1 in citylist_area)
                {
            %>
            <a id='<%=item1.Encode %>' href="javascript:loadFilmShowL('<%=item1.Preencode %>','<%=item1.Encode %>','<%=checkdate %>','0','<%=movieid %>');">
                <%=item1.Name %></a>
            <%
                }   
            %>
        </span>
    </div>
    <div class="yx-one">
        <b>选择影院：</b><span>
            <%
                if (theaterlist.Count > 0)
                {
                    foreach (Joyintech.Model.inpiao365.theater item2 in theaterlist)
                    {
            %>
            <a id='t<%=item2.TheaterId %>' href="javascript:loadFilmShowL('<%=cityid %>','<%=areaid %>','<%=checkdate %>','<%=item2.TheaterId %>','<%=movieid %>');">
                <%=item2.TheaterName%></a>
            <%
                    }
                }
                else
                {
            %>
            该地区暂无电影院，请见谅！
            <%
                }
            %>
        </span>
    </div>
    <div class="clear">
    </div>
    <script type="text/javascript">
        var checkdate = '<%=checkdate %>';
        var cityid = '<%=cityid %>';
        var areaid = '<%=areaid %>';
        var cinemaid = '<%=cinemaid %>';
        if (areaid != "0") {

            $("#" + areaid + "").addClass("yxon");
        }
        else {
            $("#quanbu").addClass("yxon");
        }
        $("#" + checkdate + "").addClass("yxon");
        $("#" + cityid + "").addClass("yxon");
        $("#t" + cinemaid + "").addClass("yxon");
       
    </script>
    <%--  <p class="tr mt10 mr20">
        <a href="/filmlist/index.aspx" target="_blank">查看所有影院场次&gt;&gt;</a></p>--%>
    <div class="linexu">
    </div>
    <div id="divFilmList">
        <!--一个影院场次列表-->
        <%
            if (theaterlist.Count > 0)
            {
        %>
        <div class="hotcinemaone">
            <div class="hoth2">
                <h2>
                    <span><strong>
                        <%=threaterExtend.AreaName%><em class="fenge">|</em><%=threaterExtend.TheaterName%></strong></span></h2>
                <%=threaterExtend.Address%>
            </div>
            <table border="0" cellspacing="0" cellpadding="0" width="100%" class="xz_tabBa">
                <tbody>
                    <tr class="">
                        <th>
                            时间
                        </th>
                        <th>
                            电影名称
                        </th>
                        <th>
                            语言/版本
                        </th>
                        <th>
                            放映厅
                        </th>
                        <th>
                            网票价
                        </th>
                        <th style="border-right: 0px;">
                            购票
                        </th>
                    </tr>
                    <%if (scrieentinglist.Count > 0)
                      {
                          foreach (Joyintech.BLL.inpiao365.screeningsExtend item in scrieentinglist)
                          { %>
                    <tr class="">
                        <td>
                            <a href="/PhenixTicket/phenix_seat_list_new.aspx?lsh=D129A7AE414722F791E732DB77F8F23335969F33E6A7BC5D&amp;cinemaid=0685F3111AC6A990960C328E53DDB3C5&amp;secionid=A30909FA65E303C6"
                                target="_blank" class="ftime">
                                <%=item.MovieSeatTime.ToShortTimeString() %></a> </td>
                        <td>
                            <%=item.MovieName %>
                        </td>
                        <td>
                            <%=item.MovieType %>
                        </td>
                        <td>
                            <%=item.TheaterRoomName %>
                        </td>
                        <td>
                            <%=item.Price %>元 </td>
                        <td>
                            <a href="/PhenixTicket/phenix_seat_list_new.aspx?lsh=<%=item.MovieId %>&yth=<%=item.TheaterRoomId %>&yyh=<%=cinemaid %>&cc=<%=item.ScreeningsId %>"
                                target="_blank">
                                <img src="/images/icon-select.gif" alt="选座位" /></a> </td>
                    </tr>
                    <% }
                      }
                      else
                      {%>
                    <tr class="">
                        <td colspan="5" style="color: Red; font-size: 20px">
                            暂无该电影播放消息! </td>
                    </tr>
                    <% }%>
                </tbody>
            </table>
            <%-- <p class="tr mt10">
                <a href="/filmlist/index.aspx" target="_blank">查看所有影院场次&gt;&gt;</a></p>--%>
        </div>
        <%        
            }
        %>
        <!--一个影院场次列表end-->
        <div id="divNoFilm" class="nofilm" style="display: none;">
            <!--无影片信息start-->
            <div class="xz_filmno">
                <div class="xz_wanringT">
                    &nbsp;</div>
                <div class="xz_wanringM">
                    <div class="xz_wanring">
                        <span id="filmnoTS">暂未发布影院放映计划，请您稍后查询或选择其他影院，给您购票带来的不便，敬请见谅！</span>
                        <div class="clear">
                        </div>
                    </div>
                </div>
                <div class="xz_wanringF">
                    &nbsp;</div>
                <div class="xz_filmother">
                    <span>离你最近的周边影院：</span>
                    <ul>
                    </ul>
                    <em class="filmotherall" id="show"><a href="javascript:;">共0家影院&gt;&gt;</a></em>
                    <div class="clear">
                    </div>
                </div>
                <div class="xz_filmother noborder">
                    <span>正在热映影片：</span>
                    <ul id="ulhot">
                        <li><a href="/wangp/25/14742.html" target="_blank" class="tnow">泰坦尼克号<img src="http://www.wangpiao.com/skin/New.gif"
                            alt=""></a></li>
                        <li><a href="/wangp/25/14488.html" target="_blank" class="tnow">春娇与志明<img src="http://www.wangpiao.com/skin/New.gif"
                            alt=""></a></li>
                        <li><a href="/wangp/25/14763.html" target="_blank" class="tnow">绣花鞋<img src="http://www.wangpiao.com/skin/New.gif"
                            alt=""></a></li>
                    </ul>
                    <ul id="ulhot2" style="display: none">
                        <li><a href="/wangp/25/14742.html" target="_blank" class="tnow">泰坦尼克号<img src="http://www.wangpiao.com/skin/New.gif"
                            alt=""></a></li>
                        <li><a href="/wangp/25/14488.html" target="_blank" class="tnow">春娇与志明<img src="http://www.wangpiao.com/skin/New.gif"
                            alt=""></a></li>
                        <li><a href="/wangp/25/14763.html" target="_blank" class="tnow">绣花鞋<img src="http://www.wangpiao.com/skin/New.gif"
                            alt=""></a></li>
                        <li><a href="/wangp/25/15329.html" target="_blank" class="tnow">诸神之怒</a></li>
                        <li><a href="/wangp/25/15652.html" target="_blank" class="tnow">车在囧途</a></li>
                        <li><a href="/wangp/25/14429.html" target="_blank" class="tnow">晚秋</a></li>
                        <li><a href="/wangp/25/12699.html" target="_blank" class="tnow">战马</a></li>
                        <li><a href="/wangp/25/14897.html" target="_blank" class="tnow">关于爱情和那些魔鬼</a></li>
                    </ul>
                    <em class="filmotherall"><a id="showhot" href="javascript:showHotFilm();">共8部影片&gt;&gt;</a></em>
                    <div class="clear">
                    </div>
                </div>
            </div>
            <!--无影片信息end-->
        </div>
    </div>
    </form>
</body>
</html>
